<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 狗崽子
  Date: 2022/4/10
  Time: 17:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath=request.getScheme()+"://"+request.getServerName()+":"
            +request.getServerPort()+request.getContextPath()+"/";
%>
<html>
<head>
    <title>书籍列表</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<style>
    .col-center-block {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
</style>
<body>
<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#example-navbar-collapse">
                <span class="sr-only">切换导航</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">管理员模块</a>
        </div>
        <div class="collapse navbar-collapse" id="example-navbar-collapse">
            <ul class="nav navbar-nav">
                <li class="active"><a href="<%=basePath%>book/allBook">项目资金筹集统计</a></li>
                <li><a href="<%=basePath%>buuk/allBuuk">班费筹集立项与发布</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        班费收支统计 <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="<%=basePath%>income/allIncome">收入清单列表页</a></li>
                        <li class="divider"></li>
                        <li><a href="<%=basePath%>outcome/allOutcome">支出清单列表页</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="container">
    <div class="col-xs-6 col-md-4 col-center-block">
        <div class="row clearfix">
            <div class="col-md-12 column">
                <div class="page-header">
                    <h1>
                        <small>新增统计</small>
                    </h1>
                </div>
            </div>
        </div>
        <form action="${pageContext.request.contextPath}/book/addBook" method="post">

            <input type="text" name="bookReason" class="form-control" placeholder="请输入筹款事由" required="" autofocus="">
            <input type="text" name="bookID" class="form-control" placeholder="请输入目标额度" required="">
            <input type="text" name="bookCounts" class="form-control" placeholder="请输入当前筹集" required="">
            <input type="text" name="bookName" class="form-control" placeholder="请输入筹集状态" required="">
            <input type="text" name="detail" class="form-control" placeholder="请输入筹集时长（天）" required="">
            <br>
            <button class="btn btn-lg btn-primary btn-block" type="submit">添加</button>
            <a class="btn btn-lg btn-default btn-block" href="${pageContext.request.contextPath}/book/allBook">取消</a>

        </form>
    </div>
</div>
</body>
</html>
